<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
class PHPExcel_Worksheet_SheetView
{
    private $zoomScale = 100;
    private $zoomScaleNormal = 100;
    private $sheetviewType = "normal";
    private static $sheetViewTypes = ["normal", "pageLayout", "pageBreakPreview"];
    const SHEETVIEW_NORMAL = "normal";
    const SHEETVIEW_PAGE_LAYOUT = "pageLayout";
    const SHEETVIEW_PAGE_BREAK_PREVIEW = "pageBreakPreview";
    public function __construct()
    {
    }
    public function getZoomScale()
    {
        return $this->zoomScale;
    }
    public function setZoomScale($pValue = 100)
    {
        if(1 <= $pValue || is_null($pValue)) {
            $this->zoomScale = $pValue;
            return $this;
        }
        throw new PHPExcel_Exception("Scale must be greater than or equal to 1.");
    }
    public function getZoomScaleNormal()
    {
        return $this->zoomScaleNormal;
    }
    public function setZoomScaleNormal($pValue = 100)
    {
        if(1 <= $pValue || is_null($pValue)) {
            $this->zoomScaleNormal = $pValue;
            return $this;
        }
        throw new PHPExcel_Exception("Scale must be greater than or equal to 1.");
    }
    public function getView()
    {
        return $this->sheetviewType;
    }
    public function setView($pValue = NULL)
    {
        if($pValue === NULL) {
            $pValue = "normal";
        }
        if(in_array($pValue, self::$sheetViewTypes)) {
            $this->sheetviewType = $pValue;
            return $this;
        }
        throw new PHPExcel_Exception("Invalid sheetview layout type.");
    }
    public function __clone()
    {
        $vars = get_object_vars($this);
        foreach ($vars as $key => $value) {
            if(is_object($value)) {
                $this->{$key} = clone $value;
            } else {
                $this->{$key} = $value;
            }
        }
    }
}

?>